OAuthCredentials

@objc
final class OAuthCredentials
extension OAuthCredentials : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol

Container class for OAuth credentials. Used for license manager initialization instead of api/public key.

  • OAuth client ID.

    Declaration

    Swift

    @objc
    var clientId: String
  • OAuth client secret.

    Declaration

    Swift

    @objc
    var clientSecret: String
  • Key used for default ICryptoProvider implementation. You can ignore this if you will provide a custom ICryptoProvider, otherwise you need to provide a cryptography key.

    Declaration

    Swift

    @objc
    var cryptoProviderKey: String
  • Undocumented

    Declaration

    Swift

    @objc
    init(clientId: String, clientSecret: String) throws